package com.jy.rhin.infra.cda.service;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.jy.rhin.facade.cda.dto.ChanHouFSDto;
import com.jy.rhin.infra.cda.dao.ChanHouFSDao;
import com.jy.rhin.infra.cda.ycf.ChanHouCFFSVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
@DS("health")
public class ChanHouFSService {

    @Resource
    private ChanHouFSDao chanHouFSDao;


    public ChanHouCFFSVo queryOne(ChanHouFSDto req){
        return chanHouFSDao.getByBH(req.getFUWUJGBH(), req.getCHANHOUFSJLBH());
    }


}
